package com.runtime.hongyunuser.bean;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;


@Data
@NoArgsConstructor
@AllArgsConstructor
public class Useraddresses {

  private long addressId;
  private long userId;
  private long regionId;
  private String receiverName;
  private String phone;
  private String detailAddress;
  private long isDefault;

  // 新增区域名称字段(用于前端显示)
  @TableField(exist = false)
  private String regionName;

  // 新增省市区字段
  @TableField(exist = false)
  private String province;
  @TableField(exist = false)
  private String city;
  @TableField(exist = false)
  private String district;
}
